package com.tt.job.api;

import java.io.Serializable;

/**
 * 任务的参数描述信息
 */
public class JobParameterInfo implements Serializable {
    private String name;
    private boolean required;

    /**
     * 获取参数名称
     * @return
     */
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 参数是否是必须的
     * @return
     */
    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }
}
